from fastapi import FastAPI

from app.event import fast_api_lifespan
from app.routers import upload, face

# 创建FastAPI实例
app = FastAPI(lifespan=fast_api_lifespan)

# 注册路由
app.include_router(upload.router)
app.include_router(face.router)
